import time
from selenium import webdriver
from selenium.webdriver.common.by import By
driver = webdriver.Chrome()
# 获取访问页面
driver.get("http://121.43.169.97:8848/pageA.html")
# 放大浏览器
driver.maximize_window()
time.sleep(2)
driver.find_element(By.CSS_SELECTOR,"#userA").send_keys("admin")
driver.find_element(By.CSS_SELECTOR,"[name='passwordA']").send_keys("123456")
driver.find_element(By.CSS_SELECTOR,".telA").send_keys("1234569999")
driver.find_element(By.CSS_SELECTOR,value=".emailA.dzyxA").send_keys("1234569999@qq.com")
driver.find_element(By.CSS_SELECTOR,"button").click()
time.sleep(5)
driver.quit()